package light.head.dao.inv;

import java.util.List;

import org.springframework.stereotype.Service;

import light.head.framework.base.BaseDAO;
import light.head.model.inv.InvInStorageDetail;
@Service
public class InvInStorageDetailDAO extends BaseDAO<InvInStorageDetail, Integer>{
	private final static String sql_findIisic = "FROM InvInStorageDetail detail WHERE detail.deleted = 0 AND detail.iisic = ?";
	/**
	 * 通过入库明细编号查询入库详情
	 * @param iisic		入库明细编号
	 */
	public List<InvInStorageDetail> findIisic(Integer iisic) {
		if (null == iisic) return null;
		return find(sql_findIisic, null, null, iisic);
	}
}
